package com.yilin.tms.core.entity.user.grant;


import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 授权类 用户 角色 【组织】拥有的菜单
 * */
@Entity
@Table(name = "user_grant_role_menu_operate")
@TableName("user_grant_role_menu_operate")
public class GrantRoleMenuOperate extends BaseEntity {

    @Column(name = "role_id")
    private String roleId;
    //用户拥有的菜单权限
    @Column(name = "menu_code")
    private String menuCode;
    @Column(name = "menu_operate_code")
    private String menuOperateCode;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuOperateCode() {
        return menuOperateCode;
    }

    public void setMenuOperateCode(String menuOperateCode) {
        this.menuOperateCode = menuOperateCode;
    }
}
